package com.wxzz.elearing.pay.service;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wxzz.elearing.pay.dto.CheckUserWithdrawDepositDto;
import com.wxzz.elearing.pay.dto.SendUserWithdrawDepositDto;
import com.wxzz.elearing.pay.dto.UserWithdrawDepositDto;
import com.wxzz.elearing.pay.entity.UserWithdrawDeposit;
import com.wxzz.elearning.common.vo.JgPageVo;
import com.wxzz.elearning.common.vo.ReturnVO;

import java.util.List;

/**
 * <p>
 * 用户提现记录 服务类
 * </p>
 *
 * @author
 * @since 2021-04-23
 */
public interface IUserWithdrawDepositService extends IService<UserWithdrawDeposit> {

    /**
     * 发起提现申请
     * @return
     */
    ReturnVO sendUserWithdrawDeposit(JSONObject jsonObject, SendUserWithdrawDepositDto sendUserWithdrawDepositDto);

    /**
     * 提现申请列表
     * @param userWithdrawDepositDto
     * @return
     */
    ReturnVO<JgPageVo<List<UserWithdrawDeposit>>> listUserWithdrawDeposit(UserWithdrawDepositDto userWithdrawDepositDto);

    /**
     * 审核提现
     * @param jsonObject
     * @param checkUserWithdrawDepositDto
     * @return
     */
    ReturnVO checkUserWithdrawDeposit(JSONObject jsonObject,CheckUserWithdrawDepositDto checkUserWithdrawDepositDto);
}
